.TH txt2clm 1  "November 26, 2018" "version 1.0.005" "USER COMMANDS"
.SH NAME
txt2clm \- convert CRU ASCII files to clm data files for LPJmL
.SH SYNOPSIS
.B txt2clm
[\-h] [\-yearcell] [\-float] [\-scale s] 
.I crufile clmfile 
[\fIgridfile\fP]
.SH DESCRIPTION
Program converts Climate Research Unit (CRU) data files into LPJ climate data files
CRU data files have to be in the format specified in
http://www.cru.uea.ac.uk/~timm/grid/CRU_TS_2_1.html
.SH OPTIONS
.TP
\-h
display a short help text
.TP
\-yearcell 
does not revert order in CRU file
.TP
\-float 
write data as float, default is short
.TP
\-scale s
scale data by a factor
.TP
.I crufile    
filename of ASCII CRU data file
.TP
.I clmfile     
filename of clm data file written
.TP
.I gridfile     
filename of grid coordinates data file written
.SH EXAMPLES
.TP
Create clm data and grid file from CRU dataset:
.B txt2clm
tmp_1901-2003.txt tmp2003.clm coord.clm
.PP
.SH EXIT STATUS
.B txt2clm
returns a zero exit status if the clm file is created.
Non zero is returned in case of failure.

.SH AUTHORS

For authors and contributors see AUTHORS file

.SH COPYRIGHT

(C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file

.SH SEE ALSO
lpjml(1), asc2clm(1), cru2clm(1), grid2clm(1), cft2clm(1), catclm(1), clm(5)
